import type { FormRules } from "element-plus";

/** 筛选表单验证规则 */
export const filterFormRules: FormRules = {
  date_range: [
    {
      type: "array",
      len: 2,
      message: "请选择完整的日期范围",
      trigger: "change"
    }
  ],
  department_ids: [
    {
      type: "array",
      message: "请选择投放组",
      trigger: "change"
    }
  ],
  platform_ids: [
    {
      type: "array",
      message: "请选择平台",
      trigger: "change"
    }
  ]
};
